package com.codejie.pms.mapper;

import com.codejie.pms.entity.Check_staff;
import com.codejie.pms.entity.Project;
import com.codejie.pms.entity.Staff;
import com.codejie.pms.entity.StaffKpi;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

public interface ModelManagerMapper {


    //查询所有项目信息
    List<Project> projectList();

    //增加项目信息
    void addProject(Project project);

    //按项目编号查询
    Project selectByproId(String id);

    //按项目编号删除
    void deleteByproId(String id);

    //按项目编号修改
    void updateByproId(Project project);

    //查询模型主管的员工信息
    List<Staff> staffByModel();

    List<Check_staff> check_staffByModel();

    void updateAdvice(StaffKpi staffKpi);

    StaffKpi adviceby(String id);

    List<StaffKpi> checkstaff();
}
